package com.examination.to.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.examination.to.entity.ExamRecord;
import com.examination.to.vo.QuestionVo;

import java.util.List;
import java.util.Map;

public interface ExamRecordService extends IService<ExamRecord> {

    int getExamRecordTotal(Integer examid);

    List scoreDistribution(Integer examid);

    List scoreData(Integer examid);

    List tableData(Integer examid);

    List rankData(Integer examid);

    List resData(Integer examid, List<QuestionVo> questionVoList);

    List dataDetail(Integer examid);

    Map showInfo(Integer examid,List<QuestionVo> questionVoList);

    Map userAnswer(Integer recordid);
}
